<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'register.jsp' starting page</title>
    
	

  </head>
  
  <body style="background-image:url('./image/index1.jpg')">
  <form action="RegisterServlet" method="post">
    <table width="900" border="3" align="center" style="height: 784px; width: 905px; "> 
    	<tr align="center">
    		<td colspan="2">请填写以下注册信息</td>
    	</tr>
    	<tr>
    		<td align="center">登录名:</td>
    		<td><input type="text" name="userName"></td>
    	</tr>
    	<tr>
    		<td align="center">密码:</td>
    		<td><input type="password" name="password"></td>
    	</tr>
    	<tr>
    		<td align="center">再次输入密码:</td>
    		<td><input type="password" name="password2"></td>
    	</tr>
    	<tr>
    		<td align="center">用户真实姓名:</td>
    		<td><input type="text" name="name"></td>
    	</tr>
    	<tr>
    		<td align="center">用户性别:</td>
    		<td><input type="radio" value="男" name="sex">男
    			<input type="radio" value="女" name="sex">女
    		</td>
    	</tr>
    	<tr>
    		<td align="center">出生日期:</td>
    		<td><input type="text" name="birth"></td>
    	</tr>
    	<tr>
    		<td align="center">用户民族:</td>
    		<td><input type="text" name="nation"></td>
    	</tr>
    	<tr>
    		<td align="center">用户学历:</td>
    		<td>
    			<select name="edu">
  					<option value="本科">本科</option>
  					<option value="研究生">研究生</option>
  				</select>
			</td>
    	</tr>
    	<tr>
    		<td align="center">用户职称:</td>
    		<td>
    			<select name="work">
  					<option value="教授">教授</option>
  					<option value="副教授">副教授</option>
  				</select>
			</td>
    	</tr>
    	<tr>
    		<td align="center">用户电话:</td>
    		<td><input type="text" name="phone"></td>
    	</tr>
    	<tr>
    		<td align="center">用户住址:</td>
    		<td><input type="text" name="place"></td>
    	</tr>
    	<tr>
    		<td align="center">用户邮箱:</td>
    		<td><input type="text" name="email"></td>
    	</tr>
    	<tr align="center"> 
    		<td align="center" colspan="2">
    			<input type="submit" value="确定">
    			<input type="reset" value="清空">
    			<a href="login/index.jsp">返回</a>
    		</td>
    	</tr>
    </table>
    </form>
  </body>
</html>
